package com.yuexiao;

import com.alibaba.dubbo.config.spring.context.annotation.EnableDubbo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;


/**
 * @ClassName:MobileApplication
 * @Auther: YUEXIAO
 * @Description: 手机端启动类
 * @Date: 2022/8/12 20:51
 * @Version: v1.0
 */
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@EnableDubbo
@Slf4j
@EnableGlobalMethodSecurity(securedEnabled = true,prePostEnabled = true)
public class MobileApplication {
    public static void main(String[] args) {
        SpringApplication.run(MobileApplication.class,args);
        System.out.println("手机端启动成功...");
    }
}
